//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import location.DisplayProductionObject;

import java.util.Iterator;

public class FeedMillProduction extends ProductionFactories {
    public FeedMillProduction() {
    }

    public String getProductionName() {
        return "Hammermill";
    }

    public int getObjectClass() {
        return 16;
    }

    public boolean checkUnlockLevel(ProductionsGoodEntry pge, Integer level) {
        AnimalEntry ae = Animals.getByFeed(pge.getName());
        return ae != null && level.intValue() >= ae.getUnlockLevel().intValue();
    }

    public int getUnitsMultiplier() {
        return 3;
    }

    public void showState() {
        Iterator var2 = this.productions.values().iterator();

        while(var2.hasNext()) {
            DisplayProductionObject dpo = (DisplayProductionObject)var2.next();
            System.out.println(dpo + "\n");
        }

    }
}
